
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 SysVersionManage 分页列表
*/
export function getSysVersionManagePagination(data: any) {
  return axios.get(`${context}/sysVersionManage/pagination`, { params: data });
}


/**
 * 获取 SysVersionManage 所有数据
*/
export function getSysVersionManageAllList(data: any) {
  return axios.get(`${context}/sysVersionManage/all`, { params: data });
}


/**
 * 获取 SysVersionManage 详情
*/
export function getSysVersionManageDetailById(id: any) {
  return axios.get(`${context}/sysVersionManage/${id}`, { params:{id} });
}


/**
 * 新增 SysVersionManage
*/
export function addSysVersionManage(data: any) {
  return axios.post(`${context}/sysVersionManage`, data);
}

/**
 * 修改 SysVersionManage
*/
export function updateSysVersionManage(data: any) {
  return axios.put(`${context}/sysVersionManage`, data);
}

/**
 * 删除 SysVersionManage
*/
export function batchRemoveSysVersionManage(data: any) {
  return axios.post(`${context}/sysVersionManage/batchRemove`, data);
}

    